{% extends "blogs/dashboard/base_blog.html" %}

{% block current_action %}Edit link{% endblock %}

{% block content %}
    <p class="small">All fields are required.</p>
    <form action="" method="post">
        {% if back %}<input type="hidden" name="back" value="{{ back }}" />{% endif %}
        <fieldset  class="module ">
            <dl>
                {% for field in form %}
                    <dt>{{ field.label_tag }}:</dt>
                    <dd>{{ field }}</dd>
                    {% if field.help_text %}<dd>{{ field.help_text }}</dd>{% endif %}
                    {% if field.errors %}<dd class="myerrors">{{ field.errors }}</dd>{% endif %}
                {% endfor %}
            </dl>
        </fieldset >
        <div class="submit-row">
            <p class="float-left"><a class="deletelink" href="delete/">Delete</a></p>
            <input class="default" type="submit" value="Save" />
        </div>
    </form>
{% endblock %}